﻿@model MvcVietAir.Models.Contact

@{
    ViewBag.Title = "Liên hệ";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>


<div class="ja-innerpad clearfix">			
	<!-- BEGIN: TOP SPOTLIGHT -->
	<div  class="clearfix" id="sl" ></div>
	<!-- END: TOP SPOTLIGHT -->
			
	<div class="clearfix" id="24hbay"></div>			
	<div id="ja-pathwaywrap">
		<div id="ja-pathway">	
		</div>
	</div>
	<div id="component-contact">
        <table width="100%" cellpadding="0" cellspacing="0" border="0" class="contentpaneopen">
        <tr>
	        <td width="100%" class="contentheading">
		        Liên hệ	</td>
        </tr>
        <tr>
	        <td>
		        <table border="0" width="100%">
		        <tr>
			        <td></td>
			        <td rowspan="2" align="right" valign="top"></td>
		        </tr>
		        <tr>
			        <td>
				        <br />
			        </td>
		        </tr>
		        </table>
	        </td>
	        <td>&nbsp;</td>
        </tr>
        <tr>
	        <td></td>
        </tr>
        <tr>
	        <td colspan="2">
	        <br /><br />
            @using (Html.BeginForm()) {
                @Html.ValidationSummary(true)
                <fieldset>
                    <div class="contact_email">
			            <label for="contact_name">
				            &nbsp;Enter your Name:
			            </label>
			            <br />
                        @Html.TextBoxFor(model => model.HoTen, new { @class = "inputbox", @size="30" })
			            @Html.ValidationMessageFor(model=>model.HoTen)
			            <br />
			            <label id="contact_emailmsg" for="contact_email">
				            &nbsp;E-mail address:
			            </label>
			            <br />
                        @Html.TextBoxFor(model => model.ThuDienTu, new { @class = "inputbox required validate-email", @size = "30", @maxlength="100" })
			            @Html.ValidationMessageFor(model=>model.ThuDienTu)
			            <br />
                        <label id="contact_textmsg" for="contact_text">
				            &nbsp;Enter your Phone:
			            </label>
			            <br />
                        @Html.TextBoxFor(model => model.SoDienThoai, new { @class = "inputbox", @size = "30" })
                        @Html.ValidationMessageFor(model=>model.SoDienThoai)
			            <br />
			            <label for="contact_subject">
				            &nbsp;Message Subject:
			            </label>
			            <br />
                        @Html.TextBoxFor(model => model.Subject, new { @class = "inputbox", @size = "30" })
                        @Html.ValidationMessageFor(model=>model.Subject)
			            <br /><br />
			            <label id="contact_textmsg" for="contact_text">
				            &nbsp;Enter your Message:
			            </label>
			            <br />
                        @Html.TextAreaFor(model => model.Content, new { @cols="50", @rows="10", @class="inputbox required"})
			            <br />
		            </div>                

                    <p>
                        <input type="submit" value="Create" />
                    </p>
                </fieldset>
            }
            </td>
        </tr>
        </table>
    </div>
</div>

